<template>
  <el-form :model="form" label-width="80px" size="mini">
    <el-row>
      <el-col :span="12">
        <el-form-item label="年份:">
          <el-date-picker v-model="form.years" type="year" placeholder="选择年" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="服用药物:">
          <el-input v-model="form.medicine" style="width: 220px" />
        </el-form-item>
      </el-col>
    </el-row>
  </el-form>
</template>

<script>
export default {
  data() {
    return {
      form: {
        id: '',
        diagnosisName: ''
      }
    }
  }
}
</script>

<style>

</style>
